﻿using ReactiveUI;

namespace TestSleep.ViewModels
{
    public class MainViewModel : ViewModelBase
    {
        private string m_Greeting = "Welcome to Avalonia!";

        public string Greeting
        {
            get => m_Greeting;
            set
            {
                if (m_Greeting!=value)
                {
                    m_Greeting=value;
                    this.RaisePropertyChanged(nameof(Greeting));
                }
            }
        }
    }
}
